﻿<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<link rel="stylesheet" href="/css/jquery-ui-1.8.14.custom.css" type="text/css" media="screen"
		  charset="utf-8"/>
	<script type="text/javascript" src="../js/jquery-1.6.js"></script>
	<script type="text/javascript" src="../js/jquery-ui-1.8.14.custom.min.js"></script>
	<script type="text/javascript" src="../js/common.js"></script>
	<script type="text/javascript" src="../js/login.js"></script>
	<link rel="stylesheet" href="../css/index.css" type="text/css" media="screen" charset="utf-8"/>
	<meta http-equiv=content-type
		  content="text/html; charset=UTF-8;charset=utf-8"/>
</head>
<body>
<div id="hdw">
	<div id="hd">
		<div id="logo">
			<a href="/page/index.jsp" class="link">
				<img src="../image/logo.png" alt="18团购"/>
			</a>
		</div>
		<div class="guides">
			<div class="city">
				<h2>上海</h2>
			</div>
			<div id="guides-city-change" class="change">切换城市</div>
			<div id="guides-city-list" class="city-list">
				<ul>
					<li class="current"><a href="header.jsp#">济南</a></li>
					<li><a href="header.jsp#">北京</a></li>
				</ul>
			</div>
		</div>
		<div id="header-subscribe-body" class="subscribe">
			<label for="header-subscribe-email" class="text">
				想知道上海明天的团购是什么吗？</label>
			<input type="hidden" name="city_id" value="4"/>
			<input id="header-subscribe-email" type="text" value=""
				   class="f-text" name="email"/>
			<input type="hidden" value="1" name="cityid"/>
			<input type="submit" class="commit" value="订阅"/>
		</div>
		<ul class="nav cf">
			<li id="today"><a href="/page/index.jsp">今日团购</a></li>
			<li><a href="/page/pastlist.jsp">往期团购</a></li>
			<li><a href="">讨论区</a></li>
		</ul>
<div class="logins">
  <ul id="account">
    <c:choose>
      <c:when test="${SESSION_USERNAME == null}">
        <li class="login">
          <a href="#" id="btn_register">注册</a>
        </li>
        <li class="login">
          <a href="#" id="btn_login">登录</a>
            <%--<a href="/page/login.jsp">登录</a>--%>
        </li>
      </c:when>
      <c:otherwise>
        <li class="account">
          <a href="#">${SESSION_USERNAME}的账户</a>
        </li>
        <li class="logout">
          <a href="/logout">退出</a>
        </li>
      </c:otherwise>
    </c:choose>
  </ul>
</div>
	</div>
</div>

</body>
</html>